package com.gy.universities.dao;
import com.gy.universities.entity.StudyCoursetype;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface StudyCoursetypeMapper {
	//根据id查询
	public StudyCoursetype getStudyCoursetypeById(@Param(value = "id") String id)throws Exception;

	public List<StudyCoursetype>	getStudyCoursetypeListByMap(Map<String,Object> param)throws Exception;

	public Integer getStudyCoursetypeCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertStudyCoursetype(StudyCoursetype studyCoursetype)throws Exception;

	public Integer updateStudyCoursetype(StudyCoursetype studyCoursetype)throws Exception;

	public Integer deleteStudyCoursetypeById(@Param(value = "id") String id)throws Exception;

	public Integer batchDeleteStudyCoursetype(Map<String,List<String>> params);

}
